	@include("user.head")
	<!-- 公共头部 -->

	<div id="content_person">
		<div class="row">
			<div class="col-xs-3">
				@include('user.uc.navigation')
			</div>
			<div class="col-xs-9">
				<div class="panel panel-default" style="display:block">
					<div class="panel-heading">
					    <h3 class="panel-title">编辑融资信息</h3>
					</div>
					<div class="panel-body ">
		  				<div class="form-horizontal">

							<div class="form-group">
								<label for="inputEmail" class="col-xs-3 control-label no_padding_right">可行性报告:</label>
								<div class="col-xs-6">
									<a href="javascript:;" class="file btn btn-primary">上传
										<input type="file" name="imgFile" id="canbe">
										<input type="hidden" name="canbe_report_file">
									</a>
									<span class="copyName"></span>
								</div>
							</div>

							<div class="form-group">
								<label for="inputEmail" class="col-xs-3 control-label no_padding_right">论证报告:</label>
								<div class="col-xs-6">
									<a href="javascript:;" class="file btn btn-primary">上传
										<input type="file" name="imgFile" id="prove">
										<input type="hidden" name="prove_report_file">
									</a>
									<span class="copyName"></span>
								</div>
							</div>

							<div class="form-group">
								<label for="inputEmail" class="col-xs-3 control-label no_padding_right">政府批文:</label>
								<div class="col-xs-6">
									<a href="javascript:;" class="file btn btn-primary">上传
										<input type="file" name="imgFile" id="agreement">
										<input type="hidden" name="gov_agreement_file">
									</a>
									<span class="copyName"></span>
								</div>
							</div>

							<div class="form-group">
								<div class="col-xs-12 text-center">
									<button type="button" id="next" class="btn btn-primary ">下一步</button>
								</div>
							</div>

						</div>
					</div>
				</div>
				<div class="panel panel-default lirun" style="display:none">
					<div class="panel-heading">
					    <h3 class="panel-title">编辑融资信息-利润表(单位：元)</h3>
					</div>
					<div class="panel-body">
		  					<div class="form-horizontal">
			  					<div class="form-group">
									<label for="inputName" class="col-xs-4 control-label no_padding_right">营业成本:</label>
									<div class="col-xs-6">
										<input class="form-control input_size" name="cost"  placeholder="" type="text">
									</div>
								</div>

			  					<div class="form-group">
									<label for="inputName" class="col-xs-4 control-label no_padding_right">营业税金及附加:</label>
									<div class="col-xs-6">
										<input class="form-control input_size" name="business_tax"  placeholder="" type="text">
									</div>
								</div>

			  					<div class="form-group">
									<label for="inputName" class="col-xs-4 control-label no_padding_right">销售费用:</label>
									<div class="col-xs-6">
										<input class="form-control input_size" name="sell_cost"  placeholder="" type="text">
									</div>
								</div>

			  					<div class="form-group">
									<label for="inputName" class="col-xs-4 control-label no_padding_right">管理费用:</label>
									<div class="col-xs-6">
										<input class="form-control input_size" name="manage_cost"  placeholder="" type="text">
									</div>
								</div>

			  					<div class="form-group">
									<label for="inputName" class="col-xs-4 control-label no_padding_right">财务费用:</label>
									<div class="col-xs-6">
										<input class="form-control input_size" name="financial_cost"  placeholder="" type="text">
									</div>
								</div>

			  					<div class="form-group">
									<label for="inputName" class="col-xs-4 control-label no_padding_right">资产减值损失:</label>
									<div class="col-xs-6">
										<input class="form-control input_size" name="assets_loss"  placeholder="" type="text">
									</div>
								</div>

			  					<div class="form-group">
									<label for="inputName" class="col-xs-4 control-label no_padding_right">公允价值变动净收益:</label>
									<div class="col-xs-6">
										<input class="form-control input_size" name="fair_value_earn"  placeholder="" type="text">
									</div>
								</div>

			  					<div class="form-group">
									<label for="inputName" class="col-xs-4 control-label no_padding_right">投资净收益:</label>
									<div class="col-xs-6">
										<input class="form-control input_size" name="investment_earn"  placeholder="" type="text">
									</div>
								</div>

			  					<div class="form-group">
									<label for="inputName" class="col-xs-4 control-label no_padding_right">对联合企业与合营企业的投资收益:</label>
									<div class="col-xs-6">
										<input class="form-control input_size" name="union_investment_earn"  placeholder="" type="text">
									</div>
								</div>

			  					<div class="form-group">
									<label for="inputName" class="col-xs-4 control-label no_padding_right">营业外收入:</label>
									<div class="col-xs-6">
										<input class="form-control input_size" name="addition_earn"  placeholder="" type="text">
									</div>
								</div>

			  					<div class="form-group">
									<label for="inputName" class="col-xs-4 control-label no_padding_right">营业外支付:</label>
									<div class="col-xs-6">
										<input class="form-control input_size" name="addition_cost"  placeholder="" type="text">
									</div>
								</div>

			  					<div class="form-group">
									<label for="inputName" class="col-xs-4 control-label no_padding_right">非资产流动处置净损失:</label>
									<div class="col-xs-6">
										<input class="form-control input_size" name="not_flow_cost"  placeholder="" type="text">
									</div>
								</div>

			  					<div class="form-group">
									<label for="inputName" class="col-xs-4 control-label no_padding_right">所得税:</label>
									<div class="col-xs-6">
										<input class="form-control input_size" name="income_tax"  placeholder="" type="text">
									</div>
								</div>

			  					<div class="form-group">
									<label for="inputName" class="col-xs-4 control-label no_padding_right">净利润:</label>
									<div class="col-xs-6">
										<input class="form-control input_size" name="pure_earn"  placeholder="" type="text">
									</div>
								</div>

			  					<div class="form-group">
									<label for="inputName" class="col-xs-4 control-label no_padding_right">基本每股收益:</label>
									<div class="col-xs-6">
										<input class="form-control input_size" name="earn_per_stock_base"  placeholder="" type="text">
									</div>
								</div>

			  					<div class="form-group">
									<label for="inputName" class="col-xs-4 control-label no_padding_right">稀释每股收益:</label>
									<div class="col-xs-6">
										<input class="form-control input_size" name="earn_per_stock_dilution"  placeholder="" type="text">
									</div>
								</div>


								<div class="form-group">
									<div class="col-xs-6 text-right">
										<button type="button" id="before2" class="btn btn-primary ">上一步</button>
									</div>
									<div class="col-xs-4 text-center">
										<button type="button" id="next2" class="btn btn-primary ">下一步</button>
									</div>
								</div>
							</div>
					</div>
				</div>
				<div class="panel panel-default liuliang" style="display:none">
					<div class="panel-heading">
					    <h3 class="panel-title">编辑融资信息-现金流量表(单位：元)</h3>
					</div>
					<div class="panel-body">
							<div class="form-horizontal">
								<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">销售商品、提供劳务收到的现金:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="salary_got"  placeholder="" type="text">
								</div>
							</div>

								<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right"> 收到的税费返还:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="tax_back"  placeholder="" type="text">
								</div>
							</div>

								<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">收到的其他与经营活动有关的现金:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="other_cash_back"  placeholder="" type="text">
								</div>
							</div>

								<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">现金流出小计:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="cash_out_subtotal"  placeholder="" type="text">
								</div>
							</div>

								<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">经营活动产生的现金流量净额:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="business_pure_income"  placeholder="" type="text">
								</div>
							</div>

								<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">收到投资所收到的现金:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="invest_cash_back"  placeholder="" type="text">
								</div>
							</div>

								<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">取得投资收益所收到的现金:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="invest_incoming"  placeholder="" type="text">
								</div>
							</div>

								<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">处置固定资产、无形资产和其他长期资产所收回的现金净额:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="selling_cash_pure"  placeholder="" type="text">
								</div>
							</div>

								<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">处置子公司及其他营业单位收到的现金净额:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="subcompany_selling_cash"  placeholder="" type="text">
								</div>
							</div>

								<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">收到的其他与投资活动有关的现金:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="other_activity_cash"  placeholder="" type="text">
								</div>
							</div>

								<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">现金流入小计:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="cash_income_subtotal"  placeholder="" type="text">
								</div>
							</div>

								<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">购建固定资产、无形资产和其他长期资产所支付的现金:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="bought_pay_cash"  placeholder="" type="text">
								</div>
							</div>

								<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">投资所支付的现金:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="invest_pay_cash"  placeholder="" type="text">
								</div>
							</div>

								<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">取得子公司及其他营业单位支付的现金净额:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="cash_from_subcompany"  placeholder="" type="text">
								</div>
							</div>

								<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">支付的其他与投资活动有关的现金:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="other_paied_cash"  placeholder="" type="text">
								</div>
							</div>

								<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">投资活动产生的现金流量 中的 现金流出 小计:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="invest_out_subtotal"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">投资活动产生的现金流量净额:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="invest_cash_total"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">吸收投资所收到的现金:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="cash_from_invest"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">借款所收到的现金:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="cash_from_borrow"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">收到的其他与筹资活动有关的现金:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="cash_from_other"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">筹资活动产生的现金流量 中的现金流入小计:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="raise_cash_income_subtotal"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">偿还债务所支付的现金:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="debt_out_cash"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">分配股利、利润或偿付利息所支付的现金:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="dis_pay_cash"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">支付的其他与筹资活动有关的现金:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="other_pay_cash"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">筹资活动产生的现金流量 中的现金流出小计:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="raise_cash_out_subtotal"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">筹资活动产生的现金流量净额:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="raise_cash_total"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">汇率变动对现金的影响额:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="cash_effect_from_exchangerate"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">现金及现金等价物净增加额:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="pure_raise_cash"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">净利润:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="pure_profits"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">计提的资产减值准备:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="ready_for_decrease"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">累计折旧:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="accumulated_depreciation"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">无形资产摊销:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="intangible_asset"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">长期待摊费用摊销:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="promote_sales"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">待摊费用减少:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="prepaid_reduce"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">预提费用增加:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="withholding_increase"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">处置固定资产、无形资产和其他长期资产的损失:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="assets_loss"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">固定资产报废损失:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="scrap_loss"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">公允价值变动损益:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="changes_loss"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">财务费用:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="financial_cost"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">投资损失:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="invest_loss"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">递延所得税负债:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="income_tax_liabilities"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">存货的减少:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="inventory_reduction"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">经营性应收项目的减少:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="business_receivables_decrease"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">经营性应收项目的增加:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="business_receivables_increase"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">其它:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="other"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">经营性活动产生的现金流量净额:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="business_activities_cash_flow"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">债务转为资本:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="debt_into_capital"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">一年内到期的可转换公司债券:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="convertible_corporate_bonds"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">融资租入固定资产:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="for_fixed_assets"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">现金的期末余额:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="ending_balance_cash"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">现金的期初余额:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="begin_balance_cash"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">现金等价物的期末余额:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="cash_equivalents_ending_balance"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">现金等价物的期初余额:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="cash_equivalents_begin_balance"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">现金及现金等价特净增加额:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="increase_in_cash"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<div class="col-xs-6 text-right">
									<button type="button" id="before1" class="btn btn-primary ">上一步</button>
								</div>
								<div class="col-xs-4 text-center">
									<button type="button" id="next1" class="btn btn-primary ">下一步</button>
								</div>
							</div>
						</div>
					</div>
				</div>

				<div class="panel panel-default fuzai" style="display:none">
					<div class="panel-heading">
					    <h3 class="panel-title">编辑融资信息-资产负债表(单位：元)</h3>
					</div>
					<div class="panel-body">
		  				<div class="form-horizontal">
		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">货币资金:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="currency_money"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">交易性金融资产:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="transactional_financial_assets"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">应收票据:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="bill_receivable"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">应收股利:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="dividends_receivable"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">应收利息:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="interest_receivable"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">应收账款:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="accounts_receivable"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">坏账准备:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="bad_debt"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">应收账款净额:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="pure_income"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">应收账款净额:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="other_income"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">预付账款:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="pre_income"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">存货:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="inventory"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">存货跌价准备:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="inventory_loss"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">存货净额:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="inventory_income"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">一年内到期的长期债权投资:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="long_term_cr_invest"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">其它流动资产:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="other_flow_assets"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">流动资产合计:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="flow_assets_total"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">可供出售金融资产:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="can_sell_financial_assets"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">持有至到期投资:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="expire_invest"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">投资性房地产:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="invest_estate"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">长期股权投资:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="stock_invest"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">长期应收款:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="long_term_income"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">固定资产原价:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="fixed_assets_price"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">累计折旧:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="cumulative_depreciation"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">固定资产净值:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="fixed_assets_worth"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">固定资产减值准备:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="fixed_assets_loss"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">固定资产净额:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="fixed_assets_amount"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">生产性生物资产:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="productive_biological_assets"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">工程物资:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="engineering_materials"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">在建工程:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="projects_under_construction"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">固定资产清理:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="disposal_fixed_assets"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">无形资产:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="intangible_assets"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">开发支出:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="development_spending"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">商誉:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="goodwill"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">长期待摊费用:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="long_term_prepaid_expenses"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">无形资产及其他资产合计:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="intangible_assets_other_assets"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">递延所得税资产:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="deferred_tax_assets"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">流动资产合计:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="non_fixedtotal_assets"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">资产合计:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="total"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">流动负债 :</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="current_liabilities"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">短期借款:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="short_term_borrowing"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">交易性金融负债:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="tradable_financial_liabilities"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">应付票据:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="notes_payable"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">应付账款:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="accounts_payable"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">预收账款:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="deferred_revenue"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">应付职工薪酬:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="employee_salary"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">应交税费:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="payable_taxes"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">应付利息:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="interest_payable"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">应付股利:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="dividends_payable"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">其他应付款:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="other_payables"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">一年内到期的非流动负债:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="non_current_liabilities"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">流动负债合计:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="total_current_liabilities"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">长期借款:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="long_borrowing"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">应付债券:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="bonds_payable"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">长期应付款:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="long_term_accounts_payable"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">专项应付款:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="specific_payable"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">预计负债:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="estimated_debts"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">其它长期负债:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="other_long_term_liabilities"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">递延秘得税负债:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="deferred_income_tax_liabilities"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">非流动负债合计:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="total_non_current_liabilities"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">负责合计:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="total_liabilities"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">实收资本(或股本):</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="paid_in_capital"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">资本公积:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="capital_reserves"  placeholder="" type="text">
								</div>
							</div>

		  					<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">库存股:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="treasury_stock"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">库存股:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="treasury_stock"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">盈余公积:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="surplus_reserves"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">未分配利润:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="undistributed_profit"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">所有者权益（或股东权益）合计:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="owners_equity_total"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="inputName" class="col-xs-4 control-label no_padding_right">负债和所有者权益（或股东权益）:</label>
								<div class="col-xs-6">
									<input class="form-control input_size" name="liabilities_owners_equity"  placeholder="" type="text">
								</div>
							</div>

							<div class="form-group">
								<div class="col-xs-6 text-right">
									<button type="button" id="before" class="btn btn-primary ">上一步</button>
								</div>
								<div class="col-xs-4 text-center">
									<button type="button" id="sub" class="btn btn-primary ">提交</button>
								</div>
							</div>

						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!-- 公共底部 -->
	@include("user.footer")
	@include("user.common")
	<!-- 公共底部 -->
<script type="text/javascript">

var type_id;
var relate_id;
var finid = "<%Input::get('finid')%>";

$.get("edit_finance/get", {finid : finid}, function (data){
	type_id = data.data.type;
	relate_id = data.data.related_id;
	finid = data.data.id;

	$.each(data.data, function(k, v){

		$("input[name="+k+"]").val(v);
	})
	$.each(data.data.fin_income, function (k, v){

		$(".lirun input[name="+k+"]").val(v);
	})

	$.each(data.data.cash_flow, function (k, v){
		$(".liuliang input[name="+k+"]").val(v);
	})

	$.each(data.data.liability, function (k, v){
		$(".fuzai input[name="+k+"]").val(v);
	})

})




$('#canbe').AjaxFileUpload({
	path : "<% url('uc/user/upload') %>",
	onComplete : function(filename){
			$("input[name='canbe_report_file']").val(filename.filename);
			$(this).parents(".form-group").find(".copyName").html(filename.filename);
	}
});

$('#prove').AjaxFileUpload({
	path : "<% url('uc/user/upload') %>",
	onComplete : function(filename){
			$("input[name='prove_report_file']").val(filename.filename);
			$(this).parents(".form-group").find(".copyName").html(filename.filename);
	}
});

$('#agreement').AjaxFileUpload({
	path : "<% url('uc/user/upload') %>",
	onComplete : function(filename){
			$("input[name='gov_agreement_file']").val(filename.filename);
			$(this).parents(".form-group").find(".copyName").html(filename.filename);
	}
});

var reportobj 	= {};
var lirunobj 	= {};
var liuliangobj = {};
var fuzaiobj 	= {};
var isComplete = true;


        $("#next").click(function() {
        	var canbe_report_file = $("input[name='canbe_report_file']").val();
        	var prove_report_file = $("input[name='prove_report_file']").val();
        	var gov_agreement_file = $("input[name='gov_agreement_file']").val();
        	if(canbe_report_file == '' || prove_report_file == '' || gov_agreement_file == '')
        	{
        		error("", "请上传文件");
        		return;
        	}
        	reportobj = {
        		canbe_report_file : canbe_report_file,
        		prove_report_file : prove_report_file,
        		gov_agreement_file : gov_agreement_file
        	};

        	$(this).parents(".panel-default").css("display","none");
        	$(this).parents(".panel-default").next().css("display","block")
        })
        $("#next1").click(function() {
        	$(this).parents(".panel-default").css("display","none");
        	$(this).parents(".panel-default").next().css("display","block")
        	console.log()
        })
         $("#next2").click(function() {
        	$(this).parents(".panel-default").css("display","none");
        	$(this).parents(".panel-default").next().css("display","block")
        	console.log()
        })
        $("#before1").click(function() {
        	$(this).parents(".panel-default").css("display","none");
        	$(this).parents(".panel-default").prev().css("display","block")
        	console.log()
        })
        $("#before2").click(function() {
        	$(this).parents(".panel-default").css("display","none");
        	$(this).parents(".panel-default").prev().css("display","block")
        	console.log()
        })
         $("#before").click(function() {
        	$(this).parents(".panel-default").css("display","none");
        	$(this).parents(".panel-default").prev().css("display","block")
        	console.log()
        })


        $("#sub").click(function(){

        	$.each($(".lirun input"), function (k,v){
        		lirunobj[$(v).attr("name")] = $(v).val()
        		if($(v).val() == ""){
        			// warning('','必填信息不能为空')
        			isComplete =  false;
        			return;
        		}else{
        			isComplete =  true;
        		}
        	});

        	if(!isComplete){
    			warning("", "必填信息不能为空");

        		return;
        	}

    		$.each($(".liuliang input"), function (k,v){
    			liuliangobj[$(v).attr("name")] = $(v).val()
    			if($(v).val() == ""){
    				// warning('','必填信息不能为空')
    				isComplete =  false;
    				return;
    			}else{
    				isComplete =  true;
    			}
    		});

    		if(!isComplete){
    			warning("", "必填信息不能为空");

        		return;
        	}

    		$.each($(".fuzai input"), function (k,v){
    			fuzaiobj[$(v).attr("name")] = $(v).val()
    			if($(v).val() == ""){
    				// warning('','必填信息不能为空')
    				isComplete =  false;
    				return;
    			}else{
    				isComplete =  true;
    			}
    		});

    		if(!isComplete){
    			warning("", "必填信息不能为空");
        		return;
        	}

        	var obj = {
        		lirun : lirunobj,
        		liuliang : liuliangobj,
        		fuzai : fuzaiobj,
        		report : reportobj,
        		type_id : type_id,
        		relate_id : relate_id,
        		finid : finid
        	};
        	if(isComplete){
        		$.post("update_finance/update", obj, function (data){
        			if(data.success)
        			{
        				success("", "提交成功");
        				setTimeout(function(){
        					window.location.href="finance";
        				}, 2000)
        			}
        		})
        	}
        	else
        	{

        	}

        })

</script>
</body>
</html>